<?php
namespace app\index\controller;

use app\common\controller\Index as commonIndex;
use think\Db;

class Index
{
    public function index()
    {
         #$res =Db::query('select * from project_table');  //查询
        // Db::execute('insert into think_user (id, name) values (:id, :name)',['id'=>8,'name'=>'thinkphp']); //增删改

       return md5(50545);
    }

    //配置公共函数
    public function common()
    {
        $common = new commonIndex();
        return $common->index();
    }
}
